package com.gator.desig_mode.itrator;

/**
 * @author 何章怀晓 hezhanghuaixiao
 * @version V1.0
 * @desc 保存在数据结构中的具体实体类
 */
public class Department {

  private String name;

  private String desc;


  public Department(String name, String desc) {
    this.name = name;
    this.desc = desc;
  }

  public Department() {
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getDesc() {
    return desc;
  }

  public void setDesc(String desc) {
    this.desc = desc;
  }

  @Override
  public String toString() {
    return "Department{" +
        "name='" + name + '\'' +
        ", desc='" + desc + '\'' +
        '}';
  }
}
